package com.eshop.modules.activity.service.dto;

import com.eshop.annotation.Query;

public class StorePinkQueryCriteria
{
    @Query
    private Integer cid;
    
    public Integer getCid() {
        return this.cid;
    }
    
    public void setCid(final Integer cid) {
        this.cid = cid;
    }
    
    @Override
    public boolean equals(final Object o) {
        if (o == this) {
            return true;
        }
        if (!(o instanceof StorePinkQueryCriteria)) {
            return false;
        }
        final StorePinkQueryCriteria other = (StorePinkQueryCriteria)o;
        if (!other.canEqual(this)) {
            return false;
        }
        final Object this$cid = this.getCid();
        final Object other$cid = other.getCid();
        if (this$cid == null) {
            if (other$cid == null) {
                return true;
            }
        }
        else if (this$cid.equals(other$cid)) {
            return true;
        }
        return false;
    }
    
    protected boolean canEqual(final Object other) {
        return other instanceof StorePinkQueryCriteria;
    }
    
    @Override
    public int hashCode() {
        final int PRIME = 59;
        int result = 1;
        final Object $cid = this.getCid();
        result = result * 59 + (($cid == null) ? 43 : $cid.hashCode());
        return result;
    }
    
    @Override
    public String toString() {
        return "StorePinkQueryCriteria(cid=" + this.getCid() + ")";
    }
}
